package com.drafthj.study.spring5.ioc.metadata.factory;

import com.drafthj.study.spring5.ioc.metadata.services.AccountService;
import com.drafthj.study.spring5.ioc.metadata.services.ClientService;
import com.drafthj.study.spring5.ioc.metadata.services.impl.AccountServiceImpl;
import com.drafthj.study.spring5.ioc.metadata.services.impl.ClientServiceImpl;

/**
 * 〈一句话功能简述〉
 * 〈功能详细描述〉
 *
 * @author drafthj
 * @date 2020/12/30
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
public class DefaultServiceLocator {
    private static ClientService clientService = new ClientServiceImpl();
    private static AccountService accountService = new AccountServiceImpl();
    public ClientService createClientServiceInstance() {
        return clientService;
    }
    public AccountService createAccountServiceInstance() {
        return accountService;
    }
}
